Visual Sign with Custom File Storage
Stirling PDF provides functionality to store and reuse files across sessions, particularly useful for features like signatures and commonly used assets. This guide explains how to set up and use custom file storage.
Overview
The custom file storage system allows you to:
- Store files persistently across sessions
- Share files between all users or restrict them to specific users
- Access stored files through the web UI
- Organize files in a structured way
Storage Location
All custom files should be stored in the /customFiles/
directory. For features like signatures, the specific path is:
/customFiles/signatures/
Access Levels
The system supports two types of access levels for stored files:
1. All Users Access
Files that should be accessible to all users should be placed in:
/customFiles/signatures/ALL_USERS/
This is useful for:
- Organization-wide templates
- Shared assets
- Default signatures or watermarks
- Environments where authentication isn't used
2. User-Specific Access
Files that should only be accessible to specific users should be placed in user-specific directories:
/customFiles/signatures/{username}/
For example:
/customFiles/signatures/john_doe/
These files will only be accessible to the specified user when logged in.
Usage in Docker
When using Docker, make sure to mount the customFiles directory as a volume to persist the files:
volumes:
- ./customFiles:/customFiles/